package com.zhiyou.app.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zhiyou.app.pojo.enums.WalletTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author jonathan.z
 * @since 2025-07-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("id_wallet_history")
@Accessors(chain = true)
public class WalletHistoryEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 事务ID,进入账对账ID
     */
    private String transactionId;

    /**
     * 企业钱包或者个人钱包
     */
    private WalletTypeEnum walletType;

    /**
     * 钱包ID
     */
    private Integer walletId;

    /**
     * 发起人用户ID
     */
    private Integer userId;

    /**
     * 内容描述
     */
    private String content;

    /**
     * 流水金额
     */
    private String amount;

}
